/**
 * 
 */
package com.tomagency.cyberlab.client;

import com.google.gwt.core.client.GWT;
import com.tomagency.cyberlab.client.rpc.BelegService;
import com.tomagency.cyberlab.client.rpc.BelegServiceAsync;
import com.tomagency.cyberlab.client.rpc.ScannerService;
import com.tomagency.cyberlab.client.rpc.ScannerServiceAsync;
import com.tomagency.cyberlab.client.rpc.UserService;
import com.tomagency.cyberlab.client.rpc.UserServiceAsync;
import com.tomagency.cyberlab.shared.rpc.GammalibRequestFactory;

/**
 * @author gfr
 *
 */
public class RpcServiceProvider {
	
	private final GammalibRequestFactory requestFactory = GWT.create(GammalibRequestFactory.class);
	private final UserServiceAsync userService = UserService.Util.getInstance();
	private final ScannerServiceAsync scannerService = ScannerService.Util.getInstance();
	private final BelegServiceAsync belegService = BelegService.Util.getInstance();
	
	/**
	 * @return the requestFactory
	 */
	public GammalibRequestFactory getRequestFactory() {
		return requestFactory;
	}
	/**
	 * @return the userService
	 */
	public UserServiceAsync getUserService() {
		return userService;
	}
	/**
	 * @return the scannerService
	 */
	public ScannerServiceAsync getScannerService() {
		return scannerService;
	}
	/**
	 * @return the belegService
	 */
	public BelegServiceAsync getBelegService() {
		return belegService;
	}

}
